package com.cqjtu.eecs.entity;

import java.io.Serializable;

import com.cqjtu.eecs.entity.dto.TrainingProjectDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author   
 * @since 2022-02-28
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TrainingGoalBriefEntity对象", description="")
public class TrainingGoalBriefEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "版本编号")
    private String versionCode;

    @ApiModelProperty(value = "培养目标概述")
    private String trainingGoalBrief;

    public TrainingGoalBriefEntity(TrainingProjectDTO trainingProjectDTO){
        this.majorCode = trainingProjectDTO.getMajorCode();
        this.versionCode = trainingProjectDTO.getVersionCode();
        this.trainingGoalBrief = trainingProjectDTO.getTrainingGoalBrief();
    }
}
